package daoInterface;
import java.sql.SQLException;

import dto.PaymentMethod;
public interface PaymentMethodDao
{
public void add (PaymentMethod paymentmethod) throws SQLException, Exception;
public void update (PaymentMethod paymentmethod) throws SQLException, Exception;
public void delete (PaymentMethod paymentmethod) throws SQLException, Exception;
public PaymentMethod retrieve(String ConditionField, String ConditionValue) throws SQLException, Exception;
public PaymentMethod[] retrieveArray(String ConditionField, String ConditionValue) throws SQLException, Exception;
public PaymentMethod[] retrieveAll() throws SQLException, Exception;
public int getAutoGenratedKey();
}
